home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3013 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: nntp.teleport.com!sschaem
  2. From: sschaem@teleport.com (Stephan Schaem)
  3. Newsgroups: comp.sys.amiga.misc,comp.sys.amiga.graphics,comp.sys.amiga.programmer,comp.sys.amiga.games,comp.sys.amiga.hardware
  4. Subject: Re: FPU and games?
  5. Followup-To: comp.sys.amiga.misc,comp.sys.amiga.graphics,comp.sys.amiga.programmer,comp.sys.amiga.games,comp.sys.amiga.hardware
  6. Date: 7 Feb 1996 22:52:17 GMT
  7. Organization: Teleport - Portland's Public Access (503) 220-1016
  8. Message-ID: <4fbaf1$bkt@maureen.teleport.com>
  9. References: <38232235@kone.fipnet.fi> <4et7s7$o2l@maureen.teleport.com> <38232290@kone.fipnet.fi>
  10. NNTP-Posting-Host: kelly.teleport.com
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Jyrki Saarinen (jsaarinen@kone.fipnet.fi) wrote:
  14.  
  15. : > : Hey, the divides are done at each 16 pixels of course!
  16. : > : Constant-z mapper is a bitch to do, have you done it working?
  17. : > : I think subdividing routine is faster than constant-z..
  18. : > 
  19. : >  Subdividing? I dont see what it is and how it can help .
  20.  
  21. : Dividing u/z and v/z by 1/z at every 8 or 16 pixels and
  22. : linearly interpolate between.
  23.  
  24.  I have yet to try this... For constant Z (Free direction mapping)
  25.  I used something similare for a basic mapper to replace
  26.  
  27.  addx.l    d6,d0
  28.  addx.l d7,d1
  29.  move.w d1,d2
  30.  move.b d0,d2
  31.  move.l    d2,a0
  32.  move.b (a0),(a1)+
  33.  
  34.  by
  35.  
  36.  move.w    (a2)+,d2
  37.  move.l    d2,a0
  38.  move.b (a0),(a1)+
  39.  
  40.  My 'problem' is that the addx version give me better fps!
  41.  But I might try to freeze the cache after the stepping table
  42.  is created.
  43.  
  44.  Stephan
  45.